<style>
.fe-mod {
    height: auto;
    border: 0px;
    position: relative;
}
.fe-mod-9-menu {
    background: #44abf7;
}
.fe-mod:hover {
    border: 0px;
}
.fui-icon-group .fui-icon-col .icon {
    height: 48px;
    margin: auto;
    text-align: center;
    line-height: 48px;
}
.fui-icon-group .fui-icon-col .icon i {
    color: #aaa;
    font-size: 28px;
}
.group-top {
    border-top: 0px solid #d9d9d9;
	background: inherit; margin-top: 10;
}
.footer {
	height:48px;padding:20px;width:100%
}
.footer p{
	margin:0;
	font-size: 0.5rem;
}
</style>
<div class="group-top">
     <div class="fui-list jump text-center">
                <a class="fui-list-inner" href="">
                    <div class="title" style="color: #333333;">-- 我们的产品 --</div>
                 </a>
      </div>
</div>
<div class='fui-content-inner'>
		<div ng-if="!pagedata.list || pagedata.list.length<1" class='content-empty' style="margin-top:0">
			<i class='icon icon-sousuo1'></i><br/>暂时没有任何商品
		</div>
	    <div class="fui-goods-group container block" id="goods-list-container">
		<div ng-repeat="g in pagedata.list" class="fui-goods-item" ng-click="pagedata.gotoitem(g);">
			<a>
			<div class="image" style="background-image: url({{tomedia(g.image)}})">
				<div ng-show="g.total<=0" class="salez" style="background-image: url({{tomedia(pagedata.setting.shop.saleout)}}); "></div>
			</div>
			</a>
			<div class="detail">
				<a><div class="name">{{g.title}}</div></a>
				<div class="price">
				   <span class="text">￥{{g.active.price || g.price}}</span>
				   <span ng-if="!g.active.title" class="subtitle" style="font-weight:400">已售{{g.salenum || 0}}{{g.unit || '件'}}</span>
				   <span ng-if="g.active.title" class="fui-tag-pink-big" style="font-weight:400">{{g.active.title}}</span>
				</div>
				<div ng-if="g.commission_money || pagedata.feemoney.isopen==1" class="goods-tag">
						<div ng-if="pagedata.feemoney.isopen==1" class="fui-tag fui-tag-danger fee-tag-zi" style="margin-right:0.15rem">{{pagedata.feemoney.tag ||'节省'}}￥{{g.feemoney || '0.00'}}</div>
						<div ng-if="g.commission_money" class="fui-tag fui-tag-danger fee-tag">{{g.commission_title}}￥{{g.commission_money}}</div>
				</div>
			</div>
			
		</div>
		</div>
	    <div id="loading_show" class='infinite-loading'><span class='fui-preloader'></span><span class='text'> 正在加载...</span></div>
</div>
<script>
scope.pagedata.gotoitem=function(item){
	if(item.pluginname=='jy_taobaoke'){
		$('#showtaobaoke').modal();
		scope.pagedata.selectgoods=item;
		scope.pagedata.copyinfo='【'+item.title+'】'+item.active.url+' 点击链接，再选择浏览器打开；或复制这段描述'+item.active.code+'后到《手机淘宝》';
		scope.$evalAsync();
	}else{
		scope.access_json(item.active.url || '/goods.detail//id='+item.id);
	}
}
scope.tool.get_list('jy_weishop/goods.index/getlist/',true);
scope.pagedata.scroll_bottom=function(){
	scope.tool.get_list('jy_weishop/goods.index/getlist/');
}
</script>